home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / utility / dsx22b_1.zip / DOSNIX.DOC < prev    next >
Text File  |  1993-12-27  |  74KB  |  2,538 lines

  1. ~
  2.  
  3.       DOSNIX.DOC (this file) has been keyed for use with MAN.BAT and
  4.     VF.  For on-line help merely type "man" and the name of the 
  5.     subject    with which you want help.  To search for subjects while in 
  6.     VF, begin the search string with a ~ (tilde).
  7.  
  8.       For help from anywhere on your system, VF.EXE and MAN.BAT 
  9.     should     be in a directory pointed to by the PATH command and you 
  10.     should put the full path name for DOSNIX.DOC in MAN.BAT.  For 
  11.     example: 
  12.  
  13.             VF +\~%1 C:\DOSNIX\DOSNIX.DOC
  14.  
  15.  
  16.  
  17.                 HELP INDEX
  18.  
  19.  
  20.         Introduction            HEAD
  21.         General                LS
  22.         STDIN                    MV
  23.         STDOUT                    MVDIR
  24.         Commands             RM 
  25.         APP                 RN
  26.             CAT                 SGREP
  27.             CHMOD                 SPLIT 
  28.             CLR                 TAIL
  29.             CP                 TEE
  30.             CPDIR                 TOLOWER 
  31.             DB                 TOUCH
  32.         DF                 TOUPPER
  33.         DU                VF
  34.         EDC                WC
  35.         FFIND                Registration
  36.         GET
  37.  
  38.  
  39.  
  40.  
  41. ~introduction
  42.  
  43.  
  44.                           DOSNIX (TM) ver. 2.2b
  45.             "The original DOSNIX since 1990"
  46.              A Product of Chenango Shoreware
  47.                      Copyr. 1990,1993 by  G. Vrooman
  48.                           All rights reserved.
  49.  
  50.  
  51.         DOSNIX is a collection of UNIX style file management and text
  52.     utilities which will increase the power and flexibility of your
  53.     system.  DOSNIX provides many of the features which UNIX users
  54.     take for granted along with some features not even found on UNIX
  55.     systems.  It is not a UNIX clone but it is very compatible with UNIX 
  56.     conventions.  Users who are familiar with UNIX will have no trouble
  57.     learning DOSNIX.  Other users may find DOSNIX a good tool for learning 
  58.     UNIX.  Some of the programs included with DOSNIX are:
  59.  
  60.  
  61.     CHMOD -    This version of the UNIX CHMOD command has been adapted
  62.              to work with MSDOS file attributes.  It will allow you
  63.              to change the attributes of any file and allow you to
  64.              create read only, hidden and system files.
  65.  
  66.     CLR -      A utility which will allow you to customize your screen 
  67.          colors from the command line.  CLR will work properly with or
  68.          without ANSI.SYS.
  69.  
  70.     CP -       The UNIX counterpart of the DOS COPY command.  CP will
  71.              allow you to copy hidden and system files, and the DOSNIX
  72.              version will not overwrite existing files without warning
  73.              you.  CP can handle wild cards and multiple arguments and
  74.          will even allow you to format a new floppy disk if the first
  75.          one gets filled up.  CP also has options to utilize the archive 
  76.          bit or to copy files interactively.
  77.  
  78.     DB -       The famous "delete but" command will delete all except
  79.              specified files.  This command is not UNIX but it is a
  80.              great tool for cleaning up around ZIP, ARC and other archive
  81.              files.
  82.  
  83.     EDC -      Easy Directory Change.  This utility will allow you to
  84.          change directories without typing out long path names.
  85.          EDC can also be used to display a visual directory tree
  86.          on your screen.
  87.  
  88.     FFIND -    FFIND is a file locator in the tradition of the UNIX FIND
  89.              command.  Although FFIND does not have the power and scope
  90.              of the UNIX version, it is much easier to use.  FFIND will
  91.              locate files on any drive and will accept wild cards.  It
  92.              will also locate hidden and system files and has options
  93.              to remove unwanted files.
  94.  
  95.  
  96.  
  97.  
  98.  
  99.     LS -       The venerable UNIX directory lister.  LS has been spruced 
  100.          up and given another sort and two new display modes.  LS will 
  101.          now display directories sorted by file size as well as name, 
  102.          extension or date.  LS can list files in one, two, four or five 
  103.          column formats, sorted by row or by column, and offers a choice 
  104.          of upper or lower case output.  LS also offers reverse sorting
  105.          and a choice of switch characters. Default options can be set 
  106.          from the environment.
  107.  
  108.  
  109.     MV -       A fast powerful file mover, MV is used to relocate files
  110.              without performing separate COPY and  DEL commands.  MV can
  111.              be used to move files to any directory or to any drive.
  112.  
  113.     MVDIR -    The UNIX directory move utility.  MVDIR will relocate
  114.          complete directory trees and this version will even
  115.          move them to another drive.
  116.  
  117.     RM -       More powerful than the DOS DEL command, this utility
  118.              will remove complete directory structures and is great
  119.              for erasing floppies.  Unlike some UNIX versions, RM
  120.              will warn you before doing anything drastic.
  121.  
  122.     VF -       A full featured text file viewer which can recognize VI  
  123.          commands.  VF can handle extended text modes such as 80 X 30,
  124.          80 X 60 and even 132 column modes.
  125.  
  126.  
  127.         DOSNIX also includes versions of the CAT, TEE and TOUCH commands.
  128.  
  129.  
  130.  
  131.  
  132. ~general
  133.  
  134.  
  135.     INSTALLING DOSNIX:
  136.  
  137.       DOSNIX is intended primarily for hard drives although    individual 
  138.     DOSNIX utilities can be copied to a floppy disk.  To install DOSNIX 
  139.     on your hard drive you can copy the files to any convenient directory,
  140.     such as C:\DOSNIX and add the directory to the PATH statement in your
  141.         AUTOEXEC.BAT file.  If you don't have an AUTOEXEC.BAT file you can 
  142.     make one with the following two lines:
  143.  
  144.                         PATH = C:;C:\DOSNIX
  145.                         PROMPT $P$G
  146.  
  147.     This will get you up and running with DOSNIX.
  148.  
  149.  
  150.     DOSNIX OPTIONS:
  151.  
  152.       Most DOSNIX commands have a simple format which can be enhanced by 
  153.     the use of UNIX style option strings.  The option string is always 
  154.     the first argument after the command and usually begins with a "-".  
  155.     See the Command Summary for the options available with each command.
  156.  
  157.       If you are used to MSDOS switches and find this awkward you can 
  158.     insert the following line in your AUTOEXEC.BAT file:
  159.  
  160.         SET SWITCH=/     (No space before or after "=")
  161.  
  162.     All commands except CHMOD and VF will then recognize a "/" as an 
  163.     option delimiter.  If you don't use this feature, you can use slashes 
  164.     in path names, as in UNIX, and they will be converted to back slashes.
  165.  
  166.  
  167.  
  168.     INSTANT HELP:
  169.  
  170.       This document has now been keyed for quick command searches and
  171.     a HELP.BAT file has been included.  To obtain on-line help, type 
  172.     "help" and the name of the subject with which you want help.  In
  173.     addition, a brief summary of most commands can be obtained by typing 
  174.     the name of the command followed by a "-?". 
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.     USING DOSNIX:
  182.  
  183.       DOSNIX is based on UNIX although the author has simplified some 
  184.     commands and enhanced others.  Other commands have been modified
  185.     slightly to make them more compatible with MSDOS. If you are familiar 
  186.     with UNIX you should have no problem with DOSNIX. If you are not 
  187.     familiar with UNIX, books on the subject are available in most book 
  188.     stores.  My own personal favorite, if you can still find it, is:
  189.  
  190.                 UNIX SYSTEM V PRIMER
  191.                 Waite, Martin & Pratha
  192.                 Howard W. Sams & Co., Inc.
  193.  
  194.     This book offers a lightly humorous treatment of UNIX and much of it 
  195.     is applicable to DOSNIX.
  196.  
  197.       DOSNIX has a great many options and features, which can be 
  198.     bewildering to the novice user.  Pick out the commands and options 
  199.     you need the most and get familiar with them before moving on.  LS 
  200.     is a great directory lister and it is a lot fun to play around with, 
  201.     but the -l option is all most people  will ever need.  The same is 
  202.     true with other commands. The options are there if you need them but 
  203.     don't feel you need to learn every one.
  204.  
  205.       You can experiment with DOSNIX by making a scratch directory or 
  206.     floppy and playing around with different commands. This procedure is 
  207.     highly recommended for destructive commands such as RM and DB.
  208.  
  209.  
  210.     COMPATIBILITY:
  211.  
  212.       DOSNIX was written and tested using an XT clone with Phoenix BIOS 
  213.     and MSDOS 3.1 and 3.3.  It was written very conservatively and should 
  214.     be upwardly compatible with with MSDOS 4.x, 5.x and most AT and 386
  215.     class machines.  Compatibility with MSDOS 2.x is not guaranteed.
  216.     Some utilities, such as VF and CLR, use BIOS level screen and 
  217.     keyboard functions and require an IBM compatible BIOS.  Because all 
  218.     utilities use small or medium memory models, they should not require 
  219.     more than 256k of memory to run.  
  220.  
  221.  
  222.     NOTE:
  223.  
  224.     UNIX is a registered trademark of AT&T Corporation.
  225.     MSDOS is a registered trademark of Microsoft Corporation.
  226.     DOSNIX is a trademark of Gerald M. Vrooman
  227.  
  228.  
  229.  
  230. ~stdin  ~stdout
  231.  
  232.  
  233.             STANDARD INPUT (STDIN) AND STANDARD OUTPUT (STDOUT)
  234.  
  235.  
  236.       DOSNIX utilities make extensive use of STDIN and STDOUT.  STDIN
  237.     is the keyboard unless you decide to redirect it.  STDOUT is the
  238.     screen unless you decide to redirect it.  Redirection is done by
  239.     using the MSDOS operators; <, >, >> and |.
  240.  
  241.     <     used with a program that normally reads from STDIN.  It 
  242.         tells MSDOS to use the contents of a file for STDIN.
  243.         For example: 
  244.  
  245.             more < dosnix.doc
  246.  
  247.           
  248.     >    writes STDOUT to a file.  For example:
  249.  
  250.             cat dosnix.doc
  251.  
  252.         writes DOSNIX.DOC to the screen, while
  253.  
  254.             cat dosnix.doc > another.doc
  255.  
  256.         copies DOSNIX.DOC to ANOTHER.DOC.
  257.  
  258.  
  259.     >>    appends STDOUT to an existing file or writes STDOUT
  260.         to a new file.  For example:
  261.  
  262.             cat quickref.doc >> dosnix.doc
  263.  
  264.         appends QUICKREF.DOC to DOSNIX.DOC.  Unfortunately
  265.         this operator will leave an unwanted CTRL-Z between
  266.         the two files.  For this reason, DOSNIX includes an 
  267.         APP command.
  268.  
  269.  
  270.     |    The pipeline operator. Uses STDOUT as STDIN for a
  271.         second program.  For example:
  272.  
  273.             cat *.doc | vf
  274.  
  275.         pipes all files with an extension of .DOC to VF.
  276.  
  277.  
  278.  
  279.       UNIX and DOSNIX provide an additional command, TEE, which
  280.     will write STDOUT to the screen and store it in a file at
  281.     the same time.  For example:
  282.  
  283.             cat dosnix.doc | tee another.doc
  284.  
  285.     writes DOSNIX.DOC to the screen and stores it in ANOTHER.DOC.
  286.  
  287.  
  288.  
  289. ~commands
  290.  
  291.  
  292.                         LIST OF DOSNIX COMMANDS
  293. -------------------------------------------------------------------------------
  294.  
  295.         APP             append standard input to file(s).
  296.  
  297.         CAT             Copy text file(s) to standard output.
  298.  
  299.         CHMOD           Modify attribute(s) of file.
  300.  
  301.         CLR             Set screen foreground, background and border colors.
  302.  
  303.         CP              Copy file to new file or directory.
  304.  
  305.         CPDIR           Copy directory and all subdirectories. 
  306.  
  307.         DB              Delete all files except specified files.
  308.  
  309.     DF        Display free space remaining on disk.
  310.  
  311.     EDC        Easy Directory Change.
  312.  
  313.         FFIND           Find all copies of file in specified path.
  314.  
  315.         GET             Find all filenames containing specified string. 
  316.  
  317.     HEAD        Display the first few lines of a file.
  318.  
  319.         LS              List contents of directory.
  320.  
  321.         MV              Move file to new file or directory.
  322.  
  323.         MVDIR           Move directory and all subdirectories to new location.
  324.  
  325.         RM              Remove file(s).
  326.  
  327.         RN              Rename file or directory.
  328.  
  329.     SGREP        Search  text file(s) for specified string.
  330.  
  331.     SPLIT        Split a text file into several smaller files.
  332.  
  333.     TAIL        Display the last few lines of a file.
  334.  
  335.         TEE             Copy standard input to standard output and file(s).
  336.  
  337.         TOLOWER         Convert standard input to lower case.
  338.  
  339.         TOUCH           Modify file time and date.
  340.  
  341.         TOUPPER         Convert standard input to upper case.
  342.  
  343.     WC        Count lines, words and characters in a file.
  344.  
  345.         VF              Display text file in page format.
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.                         SUMMARY OF DOSNIX COMMANDS
  353. ------------------------------------------------------------------------------
  354. ~app
  355.  
  356.  
  357.     NAME:
  358.  
  359.     APP     Append standard input to file.
  360.  
  361.  
  362.     SYNTAX:
  363.  
  364.     app  file1 [file2..file5]               Appends standard input to up 
  365.                         to five files.
  366.  
  367.  
  368.  
  369.     DESCRIPTION:
  370.  
  371.       APP is a non-UNIX command meant to replace the DOS ">>" operator.  
  372.     Using ">>" to append files will not remove the CTRL-Z from the end of 
  373.     the first file before appending, but using APP will.  APP can be  used
  374.     with the dos "|" operator and any command which writes to standard 
  375.     output.  For example:
  376.  
  377.                 cat file1 file2 | app file3
  378.  
  379.     appends the output of CAT to file3.  See CAT.
  380.  
  381.                 app < file1 file2     
  382.  
  383.     appends file1 to file2.
  384.  
  385.     WARNING:  Do not use "app < file1 > file2".  This will erase file2.
  386.  
  387.     APP is meant for use with text files only and use with binary files 
  388.     is not recommended.
  389.  
  390.  
  391.  
  392. ~cat
  393.  
  394.  
  395.     NAME:
  396.  
  397.     CAT     Copy text file(s) to standard output.
  398.  
  399.  
  400.     SYNTAX:
  401.  
  402.  
  403.     cat                             Copies standard input to standard 
  404.                     output.
  405.  
  406.     cat file1                       Copies file1 to standard output. 
  407.                     Usually the screen.
  408.  
  409.     cat file1 file2 > file3         Concatenates file1 and file2 and 
  410.                     stores in file3.
  411.  
  412.  
  413.  
  414.  
  415.     DESCRIPTION:
  416.  
  417.       CAT reads one or more files and copies them to STDOUT.  If no input 
  418.     file is given, CAT will read STDIN until a CTRL-Z is found.  For 
  419.     example:
  420.  
  421.                         cat *.c > csource.txt
  422.  
  423.     will concatenate all files with an extension of .C and store
  424.     them in CSOURCE.TXT.
  425.  
  426.                         cat file1 file2 | app file3
  427.  
  428.     concatenates file1 and file2 and appends the result to file3.
  429.  
  430.                         cat > temp
  431.  
  432.     stores whatever is typed on the keyboard in TEMP and is similar to the 
  433.     DOS command COPY CON TEMP.  CTRL-Z can be used to terminate this 
  434.     operation.
  435.  
  436.     Some versions of CAT will copy the CTRL-Z at the end of    each file, 
  437.     leaving you stuck with a lot of unwanted CTRL-Z's in your new file.  
  438.     This version wont.
  439.  
  440.     CAT is meant for use with text files only and use with binary files 
  441.     is not recommended.
  442.  
  443.  
  444.  
  445. ~chmod
  446.  
  447.  
  448.     NAME:
  449.  
  450.     CHMOD   Change attribute(s) of a file.
  451.  
  452.  
  453.     SYNTAX:
  454.  
  455.     chmod [+x] file1                Adds attribute x to file1
  456.  
  457.     chmod [-x] file1                Removes attribute x from file1
  458.  
  459.  
  460.  
  461.     ATTRIBUTES:
  462.  
  463.     +a                              Set archive bit.
  464.     -a                              Clear archive bit.
  465.     +h                              Add hidden attribute.
  466.     -h                              Remove hidden attribute.
  467.     +r                              Add read only attribute.
  468.     -r                              Remove read only attribute.
  469.     +s                              Add system attribute.
  470.     -s                              Remove system attribute.
  471.  
  472.  
  473.  
  474.     DESCRIPTION:
  475.  
  476.       CHMOD is used to modify the attributes of a file.  Attributes can 
  477.     be grouped together in any sequence but each attribute must be 
  478.     preceded by a "+" or a  "-".  For example:
  479.  
  480.                         chmod -a *.*
  481.  
  482.     removes the archive bit from all files in the current directory,
  483.  
  484.                         chmod -a+r list.txt
  485.  
  486.     removes the archive bit and makes LIST.TXT read only,
  487.  
  488.                         chmod +h+s widget.com
  489.  
  490.     makes WIDGET.COM a hidden, system file.
  491.  
  492.  
  493.  
  494. ~clr
  495.  
  496.  
  497.     NAME:
  498.  
  499.     CLR   Set foreground, background and border colors.
  500.  
  501.  
  502.  
  503.     SYNTAX:
  504.  
  505.     clr                Clears screen without resetting 
  506.                     attributes.
  507.  
  508.     clr [-ab] fgnd [bkgnd [brdr]]   Sets screen foreground, background
  509.                     and border colors.
  510.  
  511.  
  512.     OPTIONS:
  513.  
  514.         
  515.     a        ANSI compatible mode.
  516.                 
  517.     b               Set foreground Bold attribute to ON.
  518.  
  519.  
  520.  
  521.     DESCRIPTION:
  522.  
  523.       CLR sets the screen foreground, background and border colors to 
  524.     those specified by the user.  The following colors are supported:
  525.  
  526.         BLACK   RED     GREEN   YELLOW  AMBER
  527.  
  528.         BLUE    MAGENTA CYAN    WHITE
  529.  
  530.     Because yellow is high intensity amber, it is impossible to have a 
  531.     yellow background.  Border colors will vary with the type of monitor.
  532.  
  533.       If only a foreground color is specified the background color 
  534.     defaults to black.  The border color always defaults to the background 
  535.     color.  To change the background color you need to specify the 
  536.     foreground color.  To change the border color you need to specify 
  537.     foreground and background colors.
  538.  
  539.       For ease of use CLR will recognize the first three letters of any 
  540.     color name.  For example:
  541.  
  542.                         clr yel
  543.  
  544.     sets the foreground color to yellow with a black background and border,
  545.  
  546.                         clr whi blu
  547.  
  548.     sets the foreground color to white and the background and border 
  549.     colors to blue, and
  550.  
  551.                         clr red whi red
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.     sets the foreground color to red, the background color to white and 
  559.     the border color to red.
  560.  
  561.  
  562.       The -b option sets the intensity of the foreground color to high.  
  563.     For example:
  564.  
  565.                         clr -b red
  566.  
  567.     sets the foreground color to high intensity red.
  568.  
  569.       If the screen is cleared after using CLR, and ANSI.SYS is not 
  570.     installed, the screen will return to normal. This can be avoided by 
  571.  
  572.  
  573.     using CLR without arguments to clear the screen, or by installing 
  574.     ANSI.SYS.
  575.  
  576.       If ANSI.SYS is installed, CLR will detect it and generate the needed 
  577.     escape codes.  A -a option has been provided to force ANSI mode if 
  578.     needed.  
  579.  
  580.  
  581.  
  582.  
  583. ~cp
  584.  
  585.  
  586.     NAME:
  587.  
  588.     CP      Copy file to new file or directory.
  589.  
  590.  
  591.  
  592.     SYNTAX:
  593.  
  594.     cp [-abcfinopstv] file1 file2    Copies file1 to file2
  595.  
  596.  
  597.         cp [-abcfinopstv] file1 [file2..filen] dir
  598.  
  599.                     Copies any number of files to 
  600.                     directory.
  601.  
  602.         cp [-abcfinopstv] dir1 dir2      Copies files in dir1 to dir2.
  603.  
  604.     cp -m source dest1 [dest2..destn]
  605.  
  606.                           Makes multiple copies of source.
  607.                     Destination may  be  either file or
  608.                     directory.
  609.  
  610.  
  611.     OPTIONS:
  612.  
  613.     a               Copy hidden and system files.  Prompt
  614.                         before overwriting protected files.
  615.         b               Copy only files with archive bit set.
  616.         c               Clear archive bits after copying.
  617.         f               Copy hidden and system files.  Overwrite
  618.                         protected files without prompting.
  619.         i               Interactive mode. Prompts before copying.
  620.         m               Make multiple copies of single file.
  621.         n               No delete. Do not overwrite existing files.
  622.         o               Overwrite existing files without prompting.
  623.                         Does not overwrite protected files.
  624.         p               Preserve file attributes when copying.
  625.         s               Copy files without echoing to screen.
  626.         t               Update file time and date when copying.
  627.         v               Verify files when copying.
  628.  
  629.  
  630.  
  631.     DESCRIPTION:
  632.  
  633.       CP copies one or more files to a new file or directory. If more 
  634.     than one source file is specified or wildcards are used, the last  
  635.     argument must specify an existing directory or an error  will  occur. 
  636.     If a directory is used as a source, all files in the directory will 
  637.     be copied but subdirectories will not be copied.
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.       Each file is echoed to the screen as it is copied and existing  
  645.     files  are not overwritten  without prompting.  If an existing file 
  646.     is protected the user will be notified and prompted a second time 
  647.     before the file is overwritten. Options are provided to override 
  648.     these features when desired.
  649.  
  650.       If a Disk Full error occurs while copying files to a removable 
  651.     device, CP will prompt the user for a new diskette.  The user may 
  652.     either continue, format a new disk or abort at this point.  If a new 
  653.     disk is inserted, CP will create the directory if needed. To format 
  654.     disks, CP needs    to access COMMAND.COM and FORMAT.COM, so set COMSPEC 
  655.     to point to your copy of COMMAND.COM and make sure FORMAT.COM is in a 
  656.     directory pointed to by PATH.
  657.  
  658.       The -i option will prompt the user for a yes or no answer before 
  659.     copying each file.  Used with wildcards or directory names this option 
  660.     provides an interactive method of copying files.
  661.  
  662.       Hidden and system files can be copied using the -a option or the 
  663.     -f option.  If the -f option is used all existing files, even 
  664.     protected files, will be overwritten without prompting the user.
  665.  
  666.       The -o option can be used overwrite existing files but will not 
  667.     overwrite protected files.  If the -n option is used, no files will 
  668.     be overwritten and the user will not be prompted.  The -n option 
  669.     overrides all other options in this respect.
  670.  
  671.       If the -s option is used, files will not be echoed to the screen 
  672.     when copying.  This option can be used with the -o, -f or -n options 
  673.     when no screen output is desired.
  674.  
  675.       Unlike the MV command, file attributes are not carried over and
  676.     the archive bit of the new file is set. The -p option can be used 
  677.     to preserve the attributes of the old file.
  678.  
  679.       In normal use CP will carry over the time and date of the old
  680.     file.  If the -t option is used, the new file will be stamped
  681.     with the current DOS time and date.
  682.  
  683.       A -v option has been added to turn on the DOS verify flag before
  684.     copying.  When the copy is complete the verify flag is restored
  685.     to its former state.
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.       CP can be used for backups with the -b option.  When this option 
  693.     is used, only  archive files are copied.  The -c option will clear 
  694.     the archive bit on both files after the copy is made.  For example:
  695.  
  696.             cp -bco *.* a:\
  697.  
  698.     copies only files in the current directory which have not been backed 
  699.     up.  The archive bits are cleared and any previously existing files 
  700.     on drive A are overwritten.
  701.  
  702.       Sometimes it is  necessary to  copy a  file to  several different 
  703.     drives or directories.  CP can be used with the  -m option to make 
  704.     as many copies of a file as needed.
  705.  
  706.  
  707.  
  708. ~cpdir
  709.  
  710.  
  711.     NAME:
  712.  
  713.     CPDIR   copy directory and all subdirectories.
  714.  
  715.  
  716.  
  717.     SYNTAX:
  718.  
  719.     cpdir [-abcfnopstv] dir1 dir2    Copies dir1 to dir2.
  720.  
  721.  
  722.     OPTIONS:
  723.  
  724.             a               Copy hidden and system files.  Prompt
  725.                             before overwriting protected files.
  726.             b               Copy only files with archive bit set.
  727.             c               Clear archive bits after copying.
  728.             f               Copy hidden and system files.  Overwrite
  729.                             protected files without prompting.
  730.             n               No delete. Do not overwrite existing files.
  731.             o               Overwrite existing files without prompting.
  732.                             Does not overwrite protected files.
  733.             p               Preserve file attributes when copying.
  734.             s               Copy files without echoing to screen.
  735.             t               Update file time and date when copying.
  736.             v               Verify files when copying.
  737.  
  738.  
  739.  
  740.     DESCRIPTION:
  741.  
  742.       CPDIR copies a complete directory to either a new or existing
  743.     directory.  If the target directory does not exist a new directory 
  744.     will be created.  If the target directory does exist it will be used 
  745.     as the starting point. Note the difference between this and the MVDIR 
  746.     command.  Subdirectories will be created when the files are copied.
  747.  
  748.  
  749.       Options are identical to the the CP command with the exception
  750.     of the -i and -m options which are not used.
  751.  
  752.       If a Disk Full error occurs while copying files to a floppy disk,
  753.     CPDIR will prompt the user for a new diskette.  The user may either 
  754.     continue, format a new disk or abort at this point.  To format disks, 
  755.     CP needs to access COMMAND.COM and FORMAT.COM, so set COMSPEC to point
  756.     to your copy of COMMAND.COM and make sure FORMAT.COM is in a directory 
  757.     pointed to by PATH.  When the new diskette is formatted, CPDIR will 
  758.     create all the necessary directories and continue.
  759.  
  760.  
  761.  
  762.  
  763.  
  764. ~db
  765.  
  766.  
  767.     NAME:
  768.  
  769.     DB      Delete all files except specified files.
  770.  
  771.  
  772.     SYNTAX:
  773.  
  774.     db file1..filen                 Deletes all files in directory
  775.                                                 except specified files.
  776.  
  777.  
  778.     OPTIONS:        None
  779.  
  780.  
  781.  
  782.     DESCRIPTION:
  783.  
  784.       DB will delete all files in a directory except the files given as 
  785.     an argument.  Wildcards can be used in arguments but path names are 
  786.     not supported.  DB can only be used in the current directory.  For 
  787.     example:
  788.  
  789.                         db *.zip
  790.  
  791.     will delete all files that do not have an extension of .ZIP and, 
  792.     in fact, DB is an excellent tool for cleaning up around ZIP files 
  793.     and other archives.
  794.  
  795.       DB works by assigning a +h attribute to the specified files and 
  796.     then removing all normal files.  The remaining files are then 
  797.     "unhidden".  This can cause a problem  with previously existing 
  798.     hidden files.  If DB encounters any hidden files it, will safely 
  799.     abort leaving the directory unchanged.  You will then have to use RM.
  800.  
  801.         WARNING: DB can be a deadly weapon if used carelessly.  Use it only 
  802.     when you are sure of what you are doing.
  803.  
  804.  
  805.  
  806.  
  807. ~df
  808.  
  809.  
  810.     NAME:
  811.  
  812.     DF          Report free space remaining on disk.
  813.  
  814.  
  815.  
  816.     SYNTAX:
  817.  
  818.     df [-i] [drive]                Displays free space on disk.
  819.  
  820.  
  821.     OPTIONS:
  822.     
  823.     i  Display additional information.
  824.         ?  Display this screen.
  825.  
  826.  
  827.  
  828.     DESCRIPTION:
  829.  
  830.       DF displays the amount of free space left on the disk in clusters
  831.     and bytes.  If no drive is specified, information for the current 
  832.     drive will be displayed.  Using *: as a drive spec causes all drives 
  833.     to be checked.  The -i option displays additional information from 
  834.     the File Address Table.
  835.  
  836.  
  837.         
  838. ~du
  839.  
  840.  
  841.  
  842.     NAME:
  843.  
  844.         DU    Report amount of disk space used.
  845.  
  846.  
  847.  
  848.     SYNTAX:
  849.  
  850.         du [-124abcikns] [dir]    Reports disk space used by dir.
  851.         du [-124bckns] file      Reports disk space used by file.
  852.  
  853.  
  854.  
  855.     OPTIONS:    -1  Report disk usage in 1k blocks.
  856.         -2  Report disk usage in 2k blocks.
  857.         -4  Report disk usage in 4k blocks.
  858.         -a  Show files as well as directory totals.
  859.         -b  Report disk usage in bytes.
  860.         -c  Report disk usage in clusters.
  861.         -i  Ignore subdirectories.
  862.         -n  Display output in lower case.
  863.         -s  Summary mode.  Show only total for directory.
  864.         -?  Display help screen.
  865.  
  866.  
  867.     DESCRIPTION:
  868.  
  869.       DU reports the amount of disk space used by a directory in 512
  870.     byte blocks.  The amount of space used by each subdirectory is 
  871.     included in the total for the parent directory.  Totals for each 
  872.     subdirectory are also displayed unless the -s option is used.  If 
  873.     no directory is specified DU will use the current directory.  If the
  874.     -i option is used DU will ignore any subdirectories and display just 
  875.     a total    for the parent directory.  The -a option will display the 
  876.     space used by each file.
  877.  
  878.       DU will also accept a file name or mask as an argument and the
  879.     current directory will be examined.  For example 
  880.  
  881.             du *.c
  882.  
  883.     will display the space used by each ".C" file in the current dir-
  884.     ectory.  In this mode the -a and -i options are assumed.
  885.  
  886.       In many cases 512 byte blocks are not very useful so this version
  887.     of DU has options to display the space used in 1k, 2k, or 4k blocks.
  888.     If the -c option is used, cluster size will be determined from the
  889.     FAT and usage will be displayed in clusters.   A -b option has been
  890.     added to display usage in bytes. 
  891.  
  892.  
  893.  
  894. ~edc
  895.  
  896.  
  897.     NAME:
  898.  
  899.     EDC    Easy Directory Change
  900.  
  901.  
  902.     SYNTAX:
  903.  
  904.     edc [-options] [d:]dir1            Changes directory to dir1.
  905.     edc -mv dir1 dir2            Move dir1 to dir2.
  906.  
  907.  
  908.     OPTIONS:
  909.  
  910.     k    Do not pause when screen is full.
  911.     l    Scan drive and list directories.
  912.     m    Create directory and update path file.
  913.     mv    Relocate directory and update path file.
  914.     n    Display directory tree without graphics.
  915.     q    Quick scan.  Do not look for extensions.
  916.     r    Remove directory and update path file.
  917.     s    Scan drive. No screen output.
  918.     t    Display directory tree with graphics.
  919.     ?    Display help screen.
  920.  
  921.  
  922.  
  923.     DESCRIPTION:
  924.  
  925.       EDC allows you to change directories by entering only the directory 
  926.     name rather than the whole path name.  For example, if you have a 
  927.     directory  named \MODEM\FILES\ZIP you can reach the directory 
  928.     from anywhere on your drive by entering:
  929.  
  930.             edc zip
  931.  
  932.     instead of:
  933.  
  934.             cd \modem\files\zip
  935.  
  936.     EDC can also find directories if given just the first few letters of  
  937.     the name.  If  you  have a directory named \GAMES\POKER\BIGDECK, 
  938.     entering:
  939.  
  940.             edc big
  941.  
  942.     will  find it.
  943.  
  944.           If  EDC finds  more than one directory with the same name, it 
  945.     will display all directories found and  prompt you  to choose one.
  946.     A new menu has been installed with both a selector bar and a speed
  947.         search feature.  To use speed search, enter the next letter of the
  948.     directory name to narrow the search or use the backspace key to
  949.     widen the search.
  950.  
  951.  
  952.  
  953.  
  954.  
  955.       EDC will locate directories on any hard drive without using a 
  956.     drive spec.  To change to a directory on a floppy  drive, or just
  957.     to speed things up, you can enter the drive spec along with the 
  958.     directory name with no space or slash between them.  For example 
  959.     if you are currently using drive C and you wish to change to 
  960.     B:\GAMES\BOARD\CHECKERS you can enter:
  961.  
  962.             edc b:checkers
  963.         or
  964.  
  965.             edc b:check
  966.  
  967.     A drive spec can be terminated by a semicolon as well as a colon.
  968.     This allows you to change drives without hitting the shift key.
  969.     For example:
  970.  
  971.             edc b;check
  972.  
  973.  
  974.       To install EDC, copy EDC.EXE to the root directory of your boot 
  975.     drive or to any directory pointed  to by the DOS PATH parameter. 
  976.     Then enter:
  977.  
  978.             edc -s
  979.  
  980.        EDC will scan all hard drives for directories and store    them in  
  981.     a file named PATH.EDC which is maintained in the root directory of
  982.     drive C.  Because EDC refers to this file to find directories, 
  983.     it should not be removed.  To scan floppy drives you can enter:
  984.  
  985.             edc -s d:
  986.  
  987.     where "d" is the letter of the drive you are scanning. 
  988.  
  989.  
  990.        If EDC does not find a copy of PATH.EDC when changing directories,
  991.     it will automatically scan the drive for you.  The -s option can 
  992.     be used for updates.  You can lock out undesired drives by setting 
  993.     the environment    variable EDNOSCAN to the letters of the drives that 
  994.     you want to ignore.  For example:
  995.  
  996.             set ednoscan=df
  997.  
  998.     will cause EDC to ignore drives D and F.  
  999.  
  1000.  
  1001.       If a full path name or one of the standard  DOS directory symbols 
  1002.     ("\",  "." or "..") is given, EDC will change directories immediately
  1003.     without checking PATH.EDC.
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.       If the -t option is used, EDC will display the directory tree 
  1011.     on your screen.  The screen will pause after displaying each page 
  1012.     of information and give you an opportunity to choose a directory.
  1013.     The -k option will suppress this feature.
  1014.  
  1015.       For redirection to non-IBM printers, the -n option will display 
  1016.     the directory tree without using graphics characters.  The -l 
  1017.     option will display a list of directories instead of a tree.  
  1018.     PATH.EDC will not be updated when using these options. 
  1019.  
  1020.       The -l, -n, and -t options are different from the -s option
  1021.     in one respect.  If no drive is specified only the current 
  1022.     drive will be scanned.  If the -s option is combined with any
  1023.     of these options all hard drives will be scanned.
  1024.  
  1025.  
  1026.       If none of your directory names have extensions you can use
  1027.     the -q option with any of the above options for quicker scans.
  1028.     For example:
  1029.  
  1030.             edc -sq    or    edc -tq
  1031.  
  1032.  
  1033.        The -m and -r options can be used to create and remove directories.
  1034.     Rules for path names are the same as for DOS and PATH.EDC will be 
  1035.     updated after each change.  The -r option will remove all files
  1036.     and recursively delete all subdirectories before removing the
  1037.     directory itself.
  1038.  
  1039.         The -mv option can be used to relocate directories as long as 
  1040.     they are on the same drive.  If other commands are used to modify 
  1041.     directories you will have to rescan the affected drive.
  1042.  
  1043.  
  1044.     NOTE: EDC uses the MSDOS LASTDRIVE parameter to determine the 
  1045.     number of available drives on your system.  For best performance 
  1046.     insert the following line in CONFIG.SYS:
  1047.  
  1048.             LASTDRIVE = x
  1049.  
  1050.         where x is the letter of your last logical drive.
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058. ~ffind
  1059.  
  1060.  
  1061.     NAME:
  1062.  
  1063.     FFIND   Find all copies of file in specified path.
  1064.  
  1065.  
  1066.     SYNTAX:
  1067.  
  1068.     ffind [-abdfiklmnr?] [+-=date] [path] filename
  1069.  
  1070.                         Finds all files in path with
  1071.                             the same name.
  1072.  
  1073.     ffind -e "command {}" [+-=date] [path] filename   
  1074.  
  1075.                         Executes DOS command when each
  1076.                         file is located.
  1077.  
  1078.     OPTIONS:
  1079.  
  1080.     a               Include hidden and system files in search.
  1081.         b               Batch mode, disable warning prompt.
  1082.         d               Include directories in search.
  1083.     e        Execute DOS command.
  1084.         f               Include floppy drives in search.
  1085.         i               Remove files interactively.
  1086.     k        No highlights or screen pauses.
  1087.         l               Display in long format, showing
  1088.                         attributes, size, time and date.
  1089.         m               Display totals for each directory.
  1090.     n        Display output in lower case.
  1091.         r               Remove files when found.
  1092.         ?               Display help screen.
  1093.  
  1094.  
  1095.  
  1096.     DESCRIPTION:
  1097.  
  1098.       FFIND will search the specified path for all copies of a given 
  1099.     file.  "path" should be a valid directory name or drive spec. If 
  1100.     "path" is omitted the search will begin from the root directory of 
  1101.     the current drive.  If "*:" is used for a path FFIND will search all 
  1102.     available hard drives. Wild cards can be used in file names and all 
  1103.     subdirectories will be searched. For example:
  1104.  
  1105.                 ffind *.bak
  1106.         or
  1107.                 ffind \ *.bak
  1108.  
  1109.         will search the entire current drive for all files named with
  1110.         an extension of .BAK.
  1111.  
  1112.                 ffind d: temp
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.         will search all of drive D for all files named TEMP,
  1119.  
  1120.                 ffind *: temp
  1121.  
  1122.         will search all hard drives for all files named TEMP, and
  1123.  
  1124.         ffind \games poker.exe
  1125.  
  1126.         will search the directory \GAMES and all subdirectories for all files 
  1127.     named POKER.EXE.
  1128.  
  1129.  
  1130.       The -r option will delete files when found.  For example:
  1131.  
  1132.         ffind -r c:\ *.bak
  1133.  
  1134.     will search drive c for all files with an extension of .BAK and 
  1135.     remove them.  The -i option is similar to the -r option except that 
  1136.     the user is prompted before each file is removed.  The -r option 
  1137.     provides an initial warning prompt before execution.  If you ever 
  1138.     type "-r" when you really  meant to type "-l" you will appreciate 
  1139.     the need for this.  The -b option will override this feature for 
  1140.     unattended batch file operation.  This option is intended for use in
  1141.     batch files only.  Don't use it from the keyboard, or some day you 
  1142.     will type in "ffind -rb" when you least intend to.  
  1143.  
  1144.       FFIND will locate hidden and system files with the -a option  but 
  1145.     the -r option cannot be used to remove protected files.  Use the -i 
  1146.     option to remove these files.
  1147.  
  1148.           The -l option can be used to display complete information on each 
  1149.     file located and the -k option will disable highlights and screen
  1150.     pauses, allowing the output to be redirected.
  1151.  
  1152.       The -m option will display the total number of matching files in 
  1153.     each directory along with the total number of bytes used.  For 
  1154.     example:
  1155.  
  1156.         ffind -almk c:\ *.* > disk.map
  1157.  
  1158.     will create a complete usage map of the user's hard disk and store 
  1159.     it in DISK.MAP.
  1160.  
  1161.       When "*:" is used as a drive spec, FFIND will ignore floppy drives 
  1162.     unless the -f option is used.  This eliminates the annoying wait
  1163.     on empty floppy drives.  Floppy drives can still be searched
  1164.     directly without using the -f option.
  1165.  
  1166.       A semicolon can now be used to terminate a drive spec in place
  1167.     of a colon.  In addition FFIND will consider ";;" equivalent to
  1168.     "*:" and search all drives.  These modifications save a few
  1169.     key strokes.
  1170.  
  1171.  
  1172.  
  1173.  
  1174.     NOTE: FFIND uses the MSDOS LASTDRIVE parameter to determine the 
  1175.     number of available drives. If FFIND attempts to search non-existent 
  1176.     drives insert the following line in CONFIG.SYS:
  1177.  
  1178.             LASTDRIVE = x
  1179.  
  1180.         where x is the letter of your last logical drive.
  1181.  
  1182.  
  1183.        FFIND can also locate files based on date.  The date parameter
  1184.     should be entered after any switches and before the path and file 
  1185.     arguments.  The date should be preceded by a "+", "-" or "=".
  1186.     For example:
  1187.  
  1188.             ffind -07/04/91 *.*
  1189.  
  1190.     will locate all files created or modified since July 4th, 1991.
  1191.     
  1192.             ffind -l +07/04/1991 *.txt
  1193.  
  1194.     will locate all  .TXT files older than July 4th, 1991 and display
  1195.     them in long format.
  1196.  
  1197.             ffind -r =07/04/1991 d; *.* 
  1198.  
  1199.     will locate and remove all files on drive D which are dated
  1200.     July 4th, 1991. 
  1201.  
  1202.         FFIND can locate files by number of days back as well as 
  1203.     actual date.  For example:
  1204.  
  1205.             ffind =5 *.*
  1206.  
  1207.     will locate all files created exactly five days ago and 
  1208.  
  1209.             ffind -5 *.* 
  1210.  
  1211.     will locate all files newer than five days.
  1212.  
  1213.  
  1214.  
  1215.       FFIND has a -e option which will cause the program to shell 
  1216.     to DOS and execute a command whenever a file is located.  The name 
  1217.     of the located file can be parsed into the command argument by 
  1218.     inserting a pair of braces wherever you want the file to be used.  
  1219.     For example:
  1220.  
  1221.             ffind -e "pkunzip {}" *.zip
  1222.  
  1223.     would unzip all the ZIP files on the current drive.  If a null
  1224.     argument is used,  FFIND will shell to DOS in the directory in
  1225.     which the file is located, giving you an opportunity to do
  1226.     whatever you want.  For example:
  1227.  
  1228.                 ffind -e "" test.txt
  1229.  
  1230.  
  1231.  
  1232. ~get
  1233.  
  1234.  
  1235.     NAME:
  1236.  
  1237.     GET     Find all file names containing specified string.
  1238.  
  1239.  
  1240.     SYNTAX:
  1241.  
  1242.     get [-adfkl?] [path] string     Finds all files in path having
  1243.                                         string as part of file name.
  1244.  
  1245.  
  1246.     OPTIONS:
  1247.  
  1248.     a               Include hidden and system files in search.
  1249.         d               Include directories in search.
  1250.     f        Include floppy drives in search.
  1251.     k        No highlights or screen pauses.
  1252.         l               Display in long format, showing attributes, size, 
  1253.             time and date.
  1254.         ?               Display help screen.
  1255.  
  1256.  
  1257.  
  1258.     DESCRIPTION:
  1259.  
  1260.       GET will search the specified path for all files having the 
  1261.     specified string as part of the file name.  If an extension is 
  1262.     provided GET will locate only files with that extension, otherwise 
  1263.     GET will locate all files regardless of extension.  For example:
  1264.  
  1265.                         get modem
  1266.  
  1267.         will locate QMODEM.DOC, JMODEM.ZIP and MODEMS.TXT.
  1268.  
  1269.                         get ted.zip
  1270.  
  1271.         will locate TED.ZIP and TED12.ZIP but will ignore TED.COM.
  1272.  
  1273.       GET will locate hidden and system files with the -a option and
  1274.     the -l option can be used to display complete information on each 
  1275.     file located.  The -d option can be used to locate directories.  
  1276.     There are no options to remove files.  
  1277.  
  1278.       The "path" specification is identical to the FFIND command.  If 
  1279.     you are searching all drives, the output of GET can be quite long.  
  1280.     Try piping it to VF.  For example:
  1281.  
  1282.                          get -k *: modems | vf
  1283.  
  1284.  
  1285.  
  1286. ~head
  1287.  
  1288.  
  1289.  
  1290.     NAME:
  1291.  
  1292.         HEAD    Display the first few lines of a file.
  1293.  
  1294.  
  1295.  
  1296.     SYNTAX:
  1297.  
  1298.     head [-###v] [file1 file2..filen]  Displays first ### lines of
  1299.                        file1 through filen.
  1300.  
  1301.  
  1302.  
  1303.     OPTIONS:    -###  Display the first ### lines.
  1304.                 -v    Verbose. Print name of each file.
  1305.                 -?    Display help screen.
  1306.  
  1307.  
  1308.  
  1309.  
  1310.     DESCRIPTION:
  1311.  
  1312.  
  1313.       HEAD displays the first few lines of any text file.  The number
  1314.     of lines to display can be specified as an option.  For example
  1315.  
  1316.             head -50 dosnix.doc
  1317.  
  1318.     displays the first 50 lines of DOSNIX.DOC.  If the number of lines 
  1319.     is not specified the first ten lines are listed.  
  1320.  
  1321.       HEAD can be used with wild cards and multiple arguments and a -v
  1322.     option is provided to give the name of each file as it is listed. 
  1323.     For example:
  1324.  
  1325.             head -20v *.c
  1326.  
  1327.     would list the first 20 lines of each C source file preceded by the
  1328.     file name.  When using the -v option the number of lines, if specified,
  1329.     should come before the 'v' as shown in the example.
  1330.  
  1331.       HEAD will also read from STDIN and you can pipe the output of
  1332.     other commands to HEAD.  The -v option is not applicable when
  1333.     reading from standard input.
  1334.  
  1335.  
  1336.  
  1337. ~ls
  1338.  
  1339.  
  1340.     NAME:
  1341.  
  1342.     LS      List contents of directory.
  1343.  
  1344.  
  1345.     SYNTAX:
  1346.  
  1347.       ls [-124acdefklnprtuxz?] [dir1]..[dirn]   Displays contents of dir1..dirn
  1348.  
  1349.       ls [-124acdefklnprtuxz?] [fil1]..[filn]   Lists fil1..filn
  1350.  
  1351.  
  1352.  
  1353.     OPTIONS:
  1354.  
  1355.     1               Display one entry per line.
  1356.     2        Display two entries per line with size and date.
  1357.     4        Display four entries per line showing size only.
  1358.         a               Display hidden and system files.
  1359.         c               Display files sorted down each column.
  1360.     d        Display file totals and free disk space. 
  1361.         e               Sort file names by extension.
  1362.         f               Display files only. Omit directories.
  1363.         k               Do not pause when screen is full.
  1364.         l               Display files in long format, showing
  1365.                         name, attributes, size, time and date.
  1366.     n        Display file names in lower case.
  1367.         p               Put a back slash after each subdirectory.
  1368.         r               Reverse order of sort.
  1369.         t               Sort files by time and date.
  1370.         u               Do not sort files.
  1371.     x        Display files sorted across screen.
  1372.     z        Sort files by size.
  1373.         ?               Display help screen.
  1374.  
  1375.  
  1376.  
  1377.     DESCRIPTION:
  1378.  
  1379.       LS displays the contents of a directory sorted across the screen 
  1380.     in five columns.  The arguments can be either files or directories. 
  1381.     If wildcards are used, all matching files will be listed.  Multiple
  1382.     arguments are accepted and more than one directory can be displayed.
  1383.     If no arguments are used, the contents of the current directory will
  1384.     be displayed.  If no options are used, -xpd will be assumed and file 
  1385.     totals will be displayed at the bottom of the listing.
  1386.  
  1387.           The -x option will display files sorted across the screen and
  1388.     is used in the default mode. The -c option will display files sorted 
  1389.     down each column rather than across each row.  If the  -1 (one) option 
  1390.     is used, one entry per line is displayed showing only the file name.
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.       If the -l option is used, one entry per line is displayed, showing 
  1398.     name, attributes, size of file in bytes, and time and date of last 
  1399.     modification.  A modified DOS format is used which is more readable 
  1400.     than the standard UNIX format.  Attributes displayed in this format 
  1401.     are:
  1402.  
  1403.                         <DIR>           Subdirectory.
  1404.                         A               Archive bit is set.
  1405.                         R               File is read only.
  1406.                         H               File is hidden.
  1407.                         S               File is system.
  1408.  
  1409.     At the  end of each display the size of the directory in bytes is
  1410.     shown. The size of any subdirectories is not included in this figure.
  1411.     Also shown is the remaining disk space.
  1412.  
  1413.       LS now has two new display formats.  The -2 option will display
  1414.     two entries per line showing file size and date and the -4 option
  1415.     will display four entries per line showing size only.  In these
  1416.     two modes the files are sorted down each column.  The -x option
  1417.     can be combined with either of these options to display files
  1418.     sorted horizontally.
  1419.  
  1420.  
  1421.           LS will pause after displaying one page of information. Typing "q" 
  1422.       at this point will terminate the program. Typing any other key will  
  1423.     continue the display.  The -k option will suppress this feature and 
  1424.     provide a continuous output which can be  redirected.  In addition,
  1425.     the -k option will eliminate any graphics characters, allowing the
  1426.     output to be redirected to a non-IBM printer.
  1427.  
  1428.  
  1429.       If the -a option is used, any hidden or system files contained in 
  1430.     the directory are also displayed.  The -f option will display file
  1431.     names only and omit any subdirectories.  The -p option will append a 
  1432.     back slash  to the end of each subdirectory name, allowing the user 
  1433.     to distinguish between files and  subdirectories.  This option will
  1434.     not work with the -l option.  
  1435.  
  1436.  
  1437.       The -t option will will sort files by time and date and can be used 
  1438.     with the -r option to display newest files first.  The -e option 
  1439.     will sort file names by extension and the -u option will provide 
  1440.     unsorted output if so desired.
  1441.  
  1442.  
  1443.       The -d option can be used to to display file totals at the end
  1444.     of each directory and the -n option will provide lower case output 
  1445.     if needed.
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.       LS can  be custom configured by setting the environment
  1452.     variable "LSCFG" to the desired options.  For example:
  1453.  
  1454.             set lscfg=le
  1455.  
  1456.     will cause LS to default to the long format, with files sorted by 
  1457.     extension, unless an option is specified on the command line. 
  1458.  
  1459.  
  1460.       LS is now EDC compatible.  If EDC is installed, LS will accept 
  1461.     partial directory names. LS will first look for an immediate directory
  1462.     with the specified name.  If no directory is found it will check 
  1463.     PATH.EDC for any matches.  If no matches are found it will then check
  1464.     for a file with the given name.  When using this feature the user is
  1465.     limited to one argument.  If more than one directory is specified on 
  1466.     the command line, PATH.EDC will not be searched.  This feature has 
  1467.     been made invisible so that LS can still be used as a stand-alone 
  1468.     directory lister.  As a result no error messages relating to EDC or 
  1469.     PATH.EDC will be displayed.
  1470.  
  1471.  
  1472.           This version of LS will not recursively list subdirectories but 
  1473.     the FFIND command can be used to obtain the same result.  For
  1474.     example:
  1475.  
  1476.         ffind -lm dirname *.*
  1477.  
  1478.         ffind -lm . *.*
  1479.  
  1480.  
  1481.  
  1482. ~mv
  1483.  
  1484.  
  1485.     NAME:
  1486.  
  1487.     MV      Move file(s) to new file or directory.
  1488.  
  1489.  
  1490.     SYNTAX:
  1491.  
  1492.     mv [-afnost?] file1 file2       Moves (renames) file1 to file2.
  1493.  
  1494.     mv [-afnost?] file1 [file2..filen] dir1
  1495.  
  1496.                     Moves any number of files to dir1.
  1497.  
  1498.     mv dir1 dir2                    Renames dir1 to dir2. dir1 and dir2 
  1499.                     must be in the same parent directory.
  1500.  
  1501.  
  1502.     OPTIONS:
  1503.  
  1504.     a               Move read only, hidden and system files.
  1505.                         Prompt before overwriting protected files.
  1506.         f               Move and overwrite all files without prompting.
  1507.         i               Interactive mode. Prompt before moving.
  1508.         n               No delete. Do not overwrite existing files.
  1509.         o               Overwrite existing files without prompting.
  1510.         s               Move files without echoing to screen.
  1511.         t               Update file time and date when moving.
  1512.         ?               Display help screen.
  1513.  
  1514.  
  1515.     DESCRIPTION:
  1516.  
  1517.       MV moves one or more files to a new file or directory. If more than 
  1518.     one source file is specified or wildcards are used, the last argument
  1519.     must  specify  an existing directory or an error will occur.  If a 
  1520.     directory is used as a source, all files in the directory will be
  1521.         moved but subdirectories will not be moved.
  1522.  
  1523.       Each file is echoed to the screen as it is moved and existing files
  1524.     are not overwritten  without prompting.  If an existing file is 
  1525.     protected the user will be notified and prompted a second time before 
  1526.     the file is overwritten. Options are provided to override these 
  1527.     features when desired.
  1528.  
  1529.       The -i option will prompt the user for a yes or no answer before 
  1530.     moving each file.  Used with wildcards or directory names this option 
  1531.     provides an interactive method of moving files.
  1532.  
  1533.  
  1534.  
  1535.  
  1536.       In normal use MV, ignores hidden and system files and prompts
  1537.     the user before moving read only files. Hidden and system files can 
  1538.     be moved using the -a option or the -f option.  The -a option will 
  1539.     move read only, hidden and system files without prompting but will 
  1540.     still prompt the user before overwriting protected files. If the -f 
  1541.     option is used all existing files, even protected files, will be 
  1542.     overwritten without prompting the user.
  1543.  
  1544.       The -o option can be used overwrite existing files without
  1545.     prompting but will not overwrite protected files.  If the -n option
  1546.         is used, no existing files will be overwritten and the user will not
  1547.         be prompted.  The -n option overrides all other options in this 
  1548.     respect.
  1549.  
  1550.       If the -s option is used, filenames will not be echoed to the 
  1551.     screen when moving.  This option can be used with the -o, -f or -n 
  1552.     options when no screen output is desired.
  1553.  
  1554.       In normal use MV will carry over the time and date of the old file.
  1555.     If the -t option is used, the new file will be stamped with the 
  1556.     current DOS time and date. Unlike the CP command, MV will also carry 
  1557.     over the attributes of the old file.
  1558.  
  1559.  
  1560.  
  1561.  
  1562. ~mvdir
  1563.  
  1564.  
  1565.     NAME:
  1566.  
  1567.     MVDIR   Move directory and all subdirectories to new location.
  1568.  
  1569.  
  1570.     SYNTAX:
  1571.  
  1572.     mv dir1 dir2                    Moves dir1 to dir2
  1573.  
  1574.  
  1575.  
  1576.     OPTIONS:
  1577.  
  1578.     s               Move files without echoing to screen.
  1579.         ?               Display help screen.
  1580.  
  1581.  
  1582.  
  1583.     DESCRIPTION:
  1584.  
  1585.       MVDIR will move a directory and all its subdirectories to the 
  1586.     specified target. If the target directory does not exist a new 
  1587.     directory will be created. If the target directory does exist a 
  1588.     directory will be created within the target directory having the 
  1589.     same name as the old directory.
  1590.  
  1591.       MVDIR has three modes of operation totally independent of user 
  1592.     input.  If both old and new directories are in  the same parent 
  1593.     directory, MVDIR will rename the old directory.  If old and new 
  1594.     directories are not in the same parent directory but reside on the 
  1595.     same drive, MVDIR will create the new directory structure, rename 
  1596.     the files and then remove the old directory. If old and new directories
  1597.         reside on different drives MVDIR will create the new directory 
  1598.     structure, copy the files over and then remove the old files and 
  1599.     directories.  If an error occurs in this last mode, such as a disk 
  1600.     full error, MVDIR will abort and leave the old directory intact.
  1601.  
  1602.  
  1603.  
  1604. ~rm
  1605.  
  1606.     NAME:
  1607.  
  1608.     RM      Remove file(s).
  1609.  
  1610.  
  1611.     SYNTAX:
  1612.  
  1613.     rm [-fis] file1...filen        Removes files.
  1614.  
  1615.     rm -r[fis] dir1..dirn          Completely removes directories.
  1616.  
  1617.  
  1618.  
  1619.     OPTIONS:
  1620.  
  1621.     f               Remove protected files without prompting.
  1622.         i               Remove files interactively.
  1623.         r               Recursively remove subdirectories.
  1624.         s               Remove files without echoing to screen.
  1625.  
  1626.  
  1627.  
  1628.     DESCRIPTION:
  1629.  
  1630.       RM is the UNIX equivalent of the MSDOS DEL command.  If a protected 
  1631.     file is specified, RM will prompt you before removing it unless the
  1632.     -f option is used.  This version of RM will display each filename as
  1633.     it is removed.  You can use the  -s option to override this feature.
  1634.  
  1635.       The -i option can be used wit    h wildcards to allow you to pick 
  1636.     and choose which files will be removed. For example:
  1637.  
  1638.                         rm -i *.*
  1639.  
  1640.     will display each filename in the current directory and prompt you
  1641.     for a yes or no answer before deleting.
  1642.  
  1643.       The -r option is used to remove directories.  A directory cannot 
  1644.     be removed unless this option is used.  The directory along with all 
  1645.     files and subdirectories will be completely removed.  If you are using 
  1646.     RM to remove a directory on another drive, make sure that the drive is
  1647.     not logged in to the directory you are removing.  RM cannot remove the
  1648.         current directory of any drive.  
  1649.  
  1650.       If the root directory of any drive is specified, all files and
  1651.     directories on the drive will be removed.  The root directory itself 
  1652.     can not be removed.  For example:
  1653.  
  1654.             rm -r a:\
  1655.  
  1656.     will remove everything on drive A.  RM is a great tool for erasing
  1657.     floppy disks but it is also capable of wiping out your hard disk.
  1658.     Use it with care.
  1659.  
  1660.       RM will now accept multiple arguments, making it easier to clean
  1661.     up directories.  It is okay to mix file    names and directory names as 
  1662.     long as the -r option is used.
  1663.  
  1664.  
  1665. ~rn
  1666.  
  1667.  
  1668.     NAME:
  1669.  
  1670.     RN      Rename file or directory.
  1671.  
  1672.  
  1673.     SYNTAX:
  1674.  
  1675.  
  1676.     rn oldfile newfile              Renames oldfile to newfile.
  1677.     rn oldfile dir                  Relocates oldfile to dir.
  1678.         rn olddir  newdir               Renames olddir to newdir.
  1679.  
  1680.  
  1681.  
  1682.     OPTIONS: none
  1683.  
  1684.  
  1685.  
  1686.  
  1687.     DESCRIPTION:
  1688.  
  1689.       RN is similar to the MV command but is much more limited in scope.  
  1690.     Only one file or directory can be renamed at a time and wild cards 
  1691.     are not permitted.  Files can not be  relocated to another drive and 
  1692.     directories can only be renamed within the parent directory.  Because 
  1693.     of its small size, RN is very useful for floppy drive systems where
  1694.     space is limited.
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700. ~sgrep
  1701.  
  1702.  
  1703.     NAME:
  1704.  
  1705.     SGREP    Search text file(s) for specified string. 
  1706.  
  1707.  
  1708.     SYNTAX:
  1709.  
  1710.  
  1711.     sgrep [-chilnv] string file1...filen
  1712.  
  1713.                     Searches file1..filen for string. 
  1714.  
  1715.         sgrep [-cinv] string        Searches STDIN for string.    
  1716.  
  1717.  
  1718.  
  1719.  
  1720.     OPTIONS:
  1721.  
  1722.     -c          Print only a count of matching lines.
  1723.     -e          Treat search string as a regular expression.
  1724.     -h          Do not print file names.
  1725.     -i          Ignore differences between upper and lower case.
  1726.         -l          Print only the names of files with matching lines.
  1727.         -n          Print line numbers of matching lines.
  1728.         -v          Print only lines that don't match.
  1729.  
  1730.  
  1731.     DESCRIPTION:
  1732.  
  1733.       SGREP is a simplified version of the UNIX FGREP command and
  1734.     is similar to the MSDOS FIND command.  SGREP will search one
  1735.     or more files for a specified text string and display each
  1736.     line in which the string is found. Unlike FIND, SGREP will
  1737.     accept wild cards and multiple arguments as filenames.  It
  1738.     is not necessary to enclose the search string in quotes unless
  1739.     it contains a space.  For example:
  1740.  
  1741.         sgrep Zmodem rta.log
  1742.  
  1743.     will find all references to Zmodem in RTA.LOG and
  1744.  
  1745.         sgrep "File Express" rta.log
  1746.  
  1747.     will find all references to File Express.
  1748.  
  1749.       A -i option has been provided to ignore case differences
  1750.     when searching.  For example:
  1751.  
  1752.         sgrep -i zmodem rta.log
  1753.  
  1754.     will locate all references to ZMODEM, zmodem or Zmodem.
  1755.  
  1756.  
  1757.  
  1758.         
  1759.       If more than one file is being searched, SGREP will precede
  1760.     each line displayed with the name of the file in which it is
  1761.     found.  The -h option will suppress this feature.  The -n option
  1762.     will display the number of each line.  For example:
  1763.  
  1764.         sgrep -n Zmodem *.log
  1765.  
  1766.     will display each line containing "Zmodem" preceded by the name
  1767.     of the file and the number of the line, while
  1768.  
  1769.         sgrep -h Zmodem *.log
  1770.  
  1771.     will display only lines containing "Zmodem" with no file name or
  1772.     line number.
  1773.         
  1774.         If the -n option is used SGREP will display only the names of
  1775.     files containing matching lines.  The -c option is similar but
  1776.     will also give a count of matching lines.  The -v option displays
  1777.     lines that do NOT match the search string.
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783. ~split
  1784.  
  1785.  
  1786.     NAME:
  1787.  
  1788.     SPLIT    Split a text file into several smaller files. 
  1789.  
  1790.  
  1791.     SYNTAX:
  1792.  
  1793.  
  1794.     split [-###]            Splits standard input into
  1795.                     several small files.
  1796.  
  1797.     split [-###] file        Splits file into smaller files.
  1798.  
  1799.  
  1800.  
  1801.     OPTIONS:
  1802.  
  1803.     -###        Set output file size to ### lines.
  1804.  
  1805.  
  1806.  
  1807.  
  1808.     DESCRIPTION:
  1809.  
  1810.       SPLIT will divide a text file into smaller files of 1000 lines each.  
  1811.     If a smaller or larger output file size is desired, the number of 
  1812.     lines can be specified as an option.  Output files are named by adding
  1813.     extensions of .XAA, .XAB, etc. to the source file name.  When reading 
  1814.     from standard input output files are named XAA, XAB, etc.  For example:
  1815.  
  1816.             split -500  dosnix.doc
  1817.  
  1818.     will divide DOSNIX.DOC into files of 500 lines each named DOSNIX.XAA, 
  1819.     DOSNIX.XAB, DOSNIX.XAC .... , while
  1820.  
  1821.             cat dosnix.doc | split -250
  1822.  
  1823.     will divide DOSNIX.DOC into files of 250 lines each named XAA, XAB, 
  1824.     XAC ....  This allows for up to 676 output files although it is not 
  1825.     wise to split up a file into that many pieces.  Files can be re-
  1826.     assembled after editing, or other modifications, by using CAT.
  1827.  
  1828.  
  1829.  
  1830.  
  1831. ~tail
  1832.  
  1833.  
  1834.     NAME:
  1835.  
  1836.     TAIL          Display the last few lines of a file.
  1837.  
  1838.  
  1839.     SYNTAX:
  1840.  
  1841.  
  1842.     tail [+###][-###][cv] [file1 file2..filen]
  1843.  
  1844.  
  1845.  
  1846.     OPTIONS:    +###      Skip the first ### lines.
  1847.                 -###      Display the last ### lines.
  1848.                 -b        Count 512k blocks instead of lines.
  1849.                 -c        Count characters instead of lines.
  1850.                 -v        Verbose.  Display file names.
  1851.                 -?        Display help screen.
  1852.  
  1853.  
  1854.  
  1855.     DESCRIPTION:
  1856.  
  1857.  
  1858.       TAIL displays the last few lines of any text file.  The number
  1859.     of lines to display can be specified as an option.  For example
  1860.  
  1861.             tail -30 dosnix.doc
  1862.  
  1863.     displays the last 30 lines of DOSNIX.DOC.  If the number of lines 
  1864.     is not specified the last ten lines are listed.  
  1865.  
  1866.  
  1867.       TAIL can be used with wild cards and multiple arguments and a -v
  1868.     option is provided to give the name of each file as it is listed. 
  1869.     For example:
  1870.  
  1871.             tail -20v *.c
  1872.  
  1873.     would list the last 20 lines of each C source file preceded by the
  1874.     file name.  When using the -v option the number of lines, if specified,
  1875.     should come before the 'v' as shown in the example.
  1876.  
  1877.       Preceding the number of lines with a '+' instead of a '-' will
  1878.     will cause tail to skip the stated number of lines and list the
  1879.     remainder of the file.
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.       The 'c' option will count characters instead of lines and the 'b'
  1887.     option will count 512k blocks.  For example:
  1888.  
  1889.             tail -1000c dosnix.doc 
  1890.  
  1891.     will display the last 1000 characters of DOSNIX.DOC and
  1892.  
  1893.             tail -5b dosnix.doc
  1894.  
  1895.     will display the last five blocks or 2560 characters.  With large text
  1896.     files these two options will be much faster than counting lines.
  1897.  
  1898.  
  1899.       TAIL will also read from STDIN and you can pipe the output of
  1900.     other commands to TAIL.  The -v option is not applicable when
  1901.     reading from standard input.
  1902.  
  1903.  
  1904.  
  1905.  
  1906. ~tee
  1907.  
  1908.  
  1909.     NAME:
  1910.  
  1911.     TEE     Copy standard input to standard output and file(s).
  1912.  
  1913.  
  1914.     SYNTAX:
  1915.  
  1916.     tee [-a] file1 [file2]..[file5]         Copies STDIN to STDOUT and 
  1917.                         file1..file5.
  1918.  
  1919.  
  1920.     OPTIONS:
  1921.  
  1922.     a                       Append output to specified file[s]
  1923.         s                       Suppress standard output.
  1924.  
  1925.  
  1926.     DESCRIPTION:
  1927.  
  1928.       TEE can be used with the DOS "|" operator and any command which 
  1929.     writes to standard output.  For example:
  1930.  
  1931.         cat file1 file2 | tee file3
  1932.  
  1933.     concatenates file1 and file2 while displaying them on the screen and 
  1934.     stores them in file3.
  1935.  
  1936.                  ls -lb dir1 | tee file1
  1937.  
  1938.         displays dir1 in long format and stores the output in file1.
  1939.  
  1940.           The -a option can be used to append the output to existing files.  
  1941.     If the -a option is not used, existing files will be overwritten.  
  1942.     For example:
  1943.  
  1944.                         tee -a file2 <file1
  1945.  
  1946.         displays file1 and appends it to the end of file2
  1947.  
  1948.                         tee file2 <file1
  1949.  
  1950.         displays file1 and overwrites file2.
  1951.  
  1952.           The -s option can be used to suppress standard output and write to 
  1953.     specified files only.  For example:
  1954.  
  1955.         cat source1 | tee -s file1 file2 file3
  1956.  
  1957.         will make multiple copies of source1 without displaying it on the 
  1958.     screen.
  1959.  
  1960.           TEE is meant for use with text files only and use with binary files 
  1961.     is not recommended.
  1962.  
  1963.  
  1964.  
  1965. ~tolower
  1966.  
  1967.  
  1968.     NAME:
  1969.  
  1970.     TOLOWER         Convert to lower case.
  1971.  
  1972.  
  1973.  
  1974.     SYNTAX:
  1975.  
  1976.     tolower                         Converts STDIN to lower case and 
  1977.                     writes to STDOUT.
  1978.  
  1979.  
  1980.  
  1981.     DESCRIPTION:
  1982.  
  1983.       TOLOWER is a filter which will convert all upper case characters to 
  1984.     lower case.  All other characters are left unchanged.  For example:
  1985.  
  1986.                         tolower < file1 > file2
  1987.  
  1988.         converts file1 to lower case and stores the result in file2.
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994. ~touch
  1995.  
  1996.  
  1997.     NAME:
  1998.  
  1999.     TOUCH   Modify file date and time.
  2000.  
  2001.  
  2002.  
  2003.     SYNTAX:
  2004.  
  2005.     touch [-t] [mm/dd/yy;hh:mm:ss] file1
  2006.                                                 Changes date and time of file1
  2007.  
  2008.  
  2009.  
  2010.     OPTIONS:
  2011.  
  2012.     t                       User selected time and date.
  2013.  
  2014.  
  2015.  
  2016.     DESCRIPTION:
  2017.  
  2018.       TOUCH will change the date and time of the specified file to the 
  2019.     current DOS date and time.  If the -t option is used the user can 
  2020.     supply the date and time as the next argument in the format 
  2021.     mm/dd/yy;hh:mm:ss.  If the date and time argument is omitted the 
  2022.     user is prompted to enter the  date and time of his choice.  Wildcards 
  2023.     can be used in file names.
  2024.  
  2025.  
  2026.  
  2027.  
  2028. ~toupper
  2029.  
  2030.  
  2031.     NAME:
  2032.  
  2033.     TOUPPER         Convert to upper case.
  2034.  
  2035.  
  2036.  
  2037.     SYNTAX:
  2038.  
  2039.     toupper                         Converts STDIN to upper case and 
  2040.                     writes to STDOUT.
  2041.  
  2042.  
  2043.  
  2044.     DESCRIPTION:
  2045.  
  2046.       TOUPPER is a filter which will convert all lower case characters 
  2047.     to upper case.  All other characters are left unchanged.  For example:
  2048.  
  2049.                         toupper < file1 > file2
  2050.  
  2051.         converts file1 to upper case and stores the result in file2.
  2052.  
  2053.  
  2054. ~vf
  2055.  
  2056.  
  2057.  
  2058.     NAME:
  2059.  
  2060.     VF    View File 
  2061.  
  2062.  
  2063.     SYNTAX:
  2064.  
  2065.  
  2066.     vf                     Read from standard input.    
  2067.  
  2068.         vf [-##b][+##][+\string] file       Displays contents of file one 
  2069.                        page at a time.
  2070.  
  2071.     vf dir                   Lists directory and allows you
  2072.                        to choose file.
  2073.  
  2074.  
  2075.     SWITCHES:
  2076.  
  2077.         +###            Begin displaying at line ###.
  2078.  
  2079.     +\string    Begin displaying at first occurrence of string.
  2080.  
  2081.     -##             Set display adaptor to mode ##.
  2082.  
  2083.     -b        Write to BIOS instead of video memory.
  2084.  
  2085.  
  2086.  
  2087.  
  2088.     DESCRIPTION:
  2089.  
  2090.       VF is a text file viewer which can read files containing
  2091.         up to 150,000 lines.  VF will recognize most relevant VI editor 
  2092.     commands and also makes full use of the cursor and function keys.
  2093.     To use VF merely type VF and the name of the file that you would 
  2094.     like to read.  For example:
  2095.  
  2096.             vf dosnix.doc
  2097.  
  2098.     Wild cards and multiple arguments can be used to view several files 
  2099.     in sequence.  For example:
  2100.  
  2101.             vf *.doc
  2102.  
  2103.     can be used to page through all .DOC files, and
  2104.  
  2105.             vf whats.new quickref.doc
  2106.  
  2107.     will first read WHATS.NEW, then QUICKREF.DOC.
  2108.  
  2109.       
  2110.  
  2111.  
  2112.  
  2113.  
  2114.        When VF begins, it will display one page of text and then pause. 
  2115.      You can then enter one of the following commands:
  2116.  
  2117.  
  2118.     COMMAND            FUNCTION        VI/EX EQUIVALENT
  2119.  
  2120.     Home         Move to beginning of file.        1G, :1
  2121.  
  2122.         End             Move to end of file.            G, :$
  2123.  
  2124.      <PgDn>          Display next page.               ^F
  2125.  
  2126.         <PgUp>          Display previous page.            ^B
  2127.  
  2128.         Down Arrow      Display next line of text.        j
  2129.  
  2130.     Up Arrow        Move back one line.            k
  2131.  
  2132.     Right Arrow    Shift screen one tab stop right.
  2133.  
  2134.     Left Arrow    Shift screen one tab stop left.
  2135.  
  2136.     ]         Display next half page of text.        ^D
  2137.  
  2138.         [           Move back one half page.        ^U
  2139.  
  2140.         F1, h         Display help page.
  2141.  
  2142.     F2, \        Search text for string.  Ignore case.
  2143.  
  2144.     ShF2, |        Search backwards.  Ignore case.
  2145.  
  2146.     F3        Search for next occurrence of string.    n
  2147.  
  2148.     F4        Select new file from directory.
  2149.  
  2150.     F5            Change file mask.
  2151.  
  2152.     F6              Toggle line numbers.            :set nu
  2153.                                 :set nonu
  2154.  
  2155.     F7        Shell to DOS.                :sh
  2156.  
  2157.     F8          Search text for string.  Match case.     /
  2158.  
  2159.     ShF8              Search backwards.  Match exact case.    ?
  2160.  
  2161.     F9        Reverse direction of search.        N
  2162.  
  2163.         F10, q         Terminate the program.            :q
  2164.  
  2165.         -###,           Move back ### lines.            :-###
  2166.  
  2167.         +###,         Move forward ### lines.            :+100
  2168.  
  2169.         ###             Move to line number ###.                ###G, :###
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.         ^L              Rewrite current page.            ^L
  2176.  
  2177.     :n        Read next file.               :n
  2178.  
  2179.     :p        Read previous file.
  2180.  
  2181.  
  2182.       The escape key can be used to interrupt text searches and exit
  2183.     the help screen.  It will also terminate the program from the main
  2184.     menu.  F10 or Del can be used in place of Esc and  ^PgUp and ^PgDn
  2185.     can be used in place of Home and End.
  2186.  
  2187.       The number of the top line is displayed on the menu bar unless 
  2188.     the end of file message is visible. Then the line number displayed 
  2189.     will be the last line of the file.  Unless the file is very small, 
  2190.     you can use Esc to realign the last page and get rid of the message. 
  2191.  
  2192.       If the number keys are used to go to a line already on the screen, 
  2193.     the screen will scroll until the line is at the top.  Otherwise the 
  2194.     screen will clear and a new page will be displayed.  
  2195.  
  2196.       The number of every line can be displayed by pressing F6.  Line
  2197.     numbers will be displayed on the right hand side of the screen and
  2198.     will overwrite the last few columns of text.  Pressing the Right
  2199.     arrow key will shift the screen and allow you to read any text that
  2200.     is covered.
  2201.  
  2202.       You can choose a new file from the directory by pressing F4.  The 
  2203.     current directory will be displayed and you can use the arrow keys 
  2204.     to choose either a new file or a new directory.  You can start the 
  2205.     program in this mode by using a directory as an argument.  Pressing 
  2206.     F5 while in this mode will allow you to change the file mask.
  2207.  
  2208.       You can also choose a new file by pressing F5 from the main
  2209.     program.  You will then be given an opportunity to enter a new
  2210.     file name.
  2211.  
  2212.       Text searches can be done by typing a "\" (F2) or a "/" (F8).  
  2213.     You will then be prompted to enter a search string.  VF will begin 
  2214.     displaying ten lines before the line containing the search string and 
  2215.     the matching line will be highlighted.  The "\" command will ignore 
  2216.     differences between upper and lower case.  The "/" command will find 
  2217.     only strings having the exact case as the search string.  Using the 
  2218.     shift key with with either of these commands (ie. "|" or "?") will 
  2219.     search backwards through the file for any previous occurence of a 
  2220.     string.  Typing a "n"  or F3 will continue searching in the same 
  2221.     direction  while "N" or F9 will search in the opposite direction.
  2222.  
  2223.       VF also has several options which can be used from the command
  2224.     line.  If the +\string switch is used, VF will search the first 
  2225.     occurrence of "string" before displaying.  For example:
  2226.  
  2227.             vf +\ffind dosnix.doc
  2228.  
  2229.     will scan DOSNIX.DOC for the first occurrence of "ffind" and
  2230.     begin displaying ten lines before the first matching line.
  2231.     Case sensitive searches can also be initiated from the command
  2232.     line.  
  2233.  
  2234.  
  2235.  
  2236.       When +### is used as a switch, VF will begin displaying at 
  2237.     whatever line number is given after the plus sign.  For example:
  2238.  
  2239.         vf +300 dosnix.doc
  2240.  
  2241.     will begin displaying at line 300.
  2242.  
  2243.  
  2244.       Normally VF writes text directly to video memory.  If the -b
  2245.     option is used VF will use the video BIOS to write text.  If
  2246.     you have a CGA monitor and are having trouble with "snow" the
  2247.     -b option will eliminate it.
  2248.  
  2249.       An option has been provided to change the mode of your display
  2250.     adaptor.  To use this option type
  2251.  
  2252.                 vf -# filename
  2253.  
  2254.     where # is the number of the new mode in decimal.  # can be any 
  2255.     valid text mode and you should check the manual for your graphics 
  2256.     card to see what modes are supported. Common text modes are listed
  2257.     below:
  2258.  
  2259.  
  2260.                                Standard  Text  Modes
  2261.  
  2262.         Mode       Card            Format
  2263.  
  2264.         0      CGA        40 X 25     Black & White
  2265.         1      CGA        40 X 25     Color
  2266.         2      CGA        80 X 25     Black & White
  2267.         3         CGA        80 X 25     Color
  2268.         7      Monochrome    80 X 25     Black & White
  2269.  
  2270.     EGA and VGA cards support all of the above modes but VGA does not
  2271.     distinguish beetween CGA Color and Black & White modes.
  2272.  
  2273.  
  2274.                 Extended Text Modes
  2275.  
  2276.  
  2277.                 Trident TVGA BIOS
  2278.  
  2279.          Mode                    Format
  2280.  
  2281.             80 (50h)                80 X 30
  2282.         81 (51h)                80 X 43
  2283.         82 (52h)                80 X 60
  2284.         83 (53h)                132 X 25
  2285.         84 (54h)                132 X 30
  2286.         85 (55h)                132 X 43
  2287.         86 (56h)                132 X 60
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.                 Tseng ET-4000    
  2297.  
  2298.          Mode                    Format
  2299.  
  2300.         34 (22h)                132 X 44
  2301.         35 (23h)                132 X 25
  2302.         36 (24h)                132 X 28
  2303.         38 (26h)                80 X 60
  2304.  
  2305.  
  2306.  
  2307.     These are the only cards I have data for.  If I have omitted
  2308.     your favorite display adaptor send me the mode numbers and I
  2309.     will add them to the docs.
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.                     CONFIGURING VF
  2318.  
  2319.       Under ordinary circumstances, VF is self-configuring and will
  2320.         adapt itself to existing screen colors and screen size.  To provide 
  2321.     an additional degree of flexibility screen colors can be set from 
  2322.     the environment.  This is done by setting the environment variable
  2323.     VFCOLORS to the desired colors.  eg:
  2324.  
  2325.             SET VFCOLORS=6E6F7F
  2326.  
  2327.  
  2328.     char 1-2    Normal screen colors for VF.  These are hex numbers 
  2329.             and correspond to standard DOS color attributes.  
  2330.             The first digit ranges from 0 to 7 and sets the 
  2331.             background color.  The second digit ranges from 0 to 
  2332.             F and sets the foreground color.
  2333.  
  2334.     char 3-4    Highlighted text search colors for VF. Same as above.
  2335.  
  2336.     char 5-6    Menu bar colors for VF.
  2337.  
  2338.  
  2339.  
  2340.                DOS SCREEN COLOR CODES
  2341.  
  2342.  
  2343.                  NORMAL                BRIGHT / BLINK
  2344.  
  2345.     0    BLACK                8    BLACK
  2346.  
  2347.     1    BLUE                9    BLUE
  2348.  
  2349.     2    GREEN                A    GREEN
  2350.  
  2351.     3    CYAN                B    CYAN
  2352.  
  2353.     4    RED                C    RED
  2354.  
  2355.     5    MAGENTA                D    MAGENTA
  2356.  
  2357.     6    AMBER                E    YELLOW
  2358.  
  2359.     7    WHITE                F    WHITE
  2360.  
  2361.  
  2362.     If a number between 8 and F is used for a foreground color you
  2363.     will get bright text.  If it is used for background you will
  2364.     get blinking text.
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372. ~wc
  2373.  
  2374.  
  2375.     NAME:
  2376.  
  2377.     WC        Count lines, words and characters in a file. 
  2378.  
  2379.  
  2380.  
  2381.     SYNTAX:
  2382.  
  2383.  
  2384.     wc                    Counts lines, words and
  2385.                         characters in STDIN.
  2386.  
  2387.     wc [-clw] file1[..filen]        Counts lines words and
  2388.                         characters in file1..filen.
  2389.  
  2390.  
  2391.  
  2392.     OPTIONS:
  2393.  
  2394.     -c              Print character count only.
  2395.     -l              Print line count only.
  2396.     -w              Print word count only.
  2397.  
  2398.  
  2399.  
  2400.     DESCRIPTION:
  2401.  
  2402.       WC will count the number of lines, words and characters in one
  2403.     or more text files and display the totals on the screen.  Options are 
  2404.     provided to print a count of lines only, words only or characters
  2405.     only. If no options are used WC will display all three counts.
  2406.     For example:
  2407.  
  2408.             wc dosnix.doc
  2409.  
  2410.     will display the total number of lines, words and characters in
  2411.     DOSNIX.DOC, while
  2412.  
  2413.             wc -l dosnix.doc
  2414.  
  2415.     will display only the number of lines in DOSNIX.DOC, and
  2416.  
  2417.             wc -w *.doc
  2418.  
  2419.     will display the number of words in each file with an extension of
  2420.     .DOC.  A word is considered to be one or more characters delimited
  2421.     by a blank, tab or a newline.
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.       WC will also read from STDIN.  For example:
  2428.  
  2429.             cat *.c | wc 
  2430.  
  2431.     will give the total number of lines, words and characters in all
  2432.     .C files.  If WC is reading from a file, the name of each file
  2433.     will be printed after the count.  When reading from STDIN, no file
  2434.     name is printed.
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.                               DISCLAIMER OF WARRANTY
  2443.  
  2444.     This software and manual are sold "as is" and without warranties as to
  2445.     performance of merchantability or any other warranties whether expressed
  2446.     or implied.  Because of the various hardware and software environments
  2447.     into which this program may be put, no warranty of fitness for a particular
  2448.     purpose is offered.
  2449.  
  2450.     Good data processing procedure dictates that any program be thoroughly
  2451.     tested with non-critical data before relying on it.  The user must assume
  2452.     the entire risk of using the program.  Any liability of the seller will be
  2453.     limited exclusively to product replacement or refund of purchase price.
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459. ~registration
  2460.  
  2461.  
  2462.           DOSNIX ver. 2.2b is the product of many hours of design, testing
  2463.         and debugging.  If you use this utility package beyond a reasonable
  2464.         period of time for evaluation, you are required to register. When 
  2465.     you register you will be sent a copy of the latest version of DOSNIX 
  2466.     The fee for registration is $35.00.  Currently registered users may 
  2467.     upgrade at any time by sending $7.00 to cover shipping and handling.
  2468.  
  2469.           Copies of DOSNIX ver. 2.2b can be made and distributed provided 
  2470.         that all utilities, documentation and licensing information are 
  2471.     included.  Even if you do not use this program you are encouraged 
  2472.     to share it with your friends and to upload it to bulletin boards. 
  2473.     Shareware dealers are free to distribute this program provided that 
  2474.     they comply with the guidelines given in REGISTER.DOC.
  2475.  
  2476.           Businesses are invited to use DOSNIX on a trial basis and then to
  2477.         apply for a site license.  Please write to me at the address below
  2478.         to register or to obtain information on site licenses.
  2479.  
  2480.  
  2481.                         Gerald M. Vrooman
  2482.                         6400 NY RT 79
  2483.                         Chenango Forks, NY
  2484.                         13746
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491. -------------------------------------------------------------------------------
  2492.  
  2493.  
  2494.                   DOSNIX  2.2b REGISTRATION
  2495.  
  2496.  
  2497.  
  2498.         NAME:     ____________________________________________________________
  2499.  
  2500.         ADDRESS:  ____________________________________________________________
  2501.  
  2502.                   ____________________________________________________________
  2503.  
  2504.                   ____________________________________________________________
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.     ____ Upgrade to latest version of DOSNIX @ $7.00      ____________
  2512.  
  2513.  
  2514.     ____ Single user registration @ $35.00                ____________
  2515.          ($25.00 before 03/01/93)
  2516.  
  2517.  
  2518.     ____ Basic Site License @ $90.00                      ____________
  2519.          (Up to three computers)
  2520.  
  2521.  
  2522.     ____ Additional computers @ $28.00 
  2523.          (For networks estimate the number
  2524.           of computers which  will be using
  2525.           DOSNIX)                                  ____________
  2526.  
  2527.  
  2528.  
  2529.     Total amount enclosed                                 ____________
  2530.     
  2531.  
  2532.  
  2533.  
  2534.         Please circle one:      5.25" disk      3.5" disk
  2535.  
  2536.  
  2537.  
  2538.